package com.mumu.muPictureBackend.config;

import com.qcloud.cos.COSClient;
import com.qcloud.cos.ClientConfig;
import com.qcloud.cos.auth.BasicCOSCredentials;
import com.qcloud.cos.auth.COSCredentials;
import com.qcloud.cos.http.HttpProtocol;
import com.qcloud.cos.region.Region;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

@Component//表示让Spring来管理这个类
@ConfigurationProperties(prefix = "unsplash")//读取yml中的unsplash配置 并且自动导入到下面的成员变量中
@Data
public class UnsplashConfig {
    private String api;
}
